home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_BallsAndBubbles_Pink_ < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.4 KB  |  71 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'Pink intersecting bubble facets reflecting the image',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 98, 
  16.             'MinAmbience': 3, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.false, 
  19.                 'Color': (162,56,123), 
  20.                 'Direction': (-0.885429,-0.944968,-0.717354), 
  21.                 'HighlightSize': 75
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.true, 
  24.                 'Color': (173,25,153), 
  25.                 'Direction': (-0.148832,0.927481,0.004665), 
  26.                 'HighlightSize': 6
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (11,33,141), 
  30.                 'Direction': (0.145079,-0.66701,0.022863), 
  31.                 'HighlightSize': 69
  32.                 }]
  33.             }, 
  34.         'Mode': App.Constants.CountType.Multiple, 
  35.         'Multiple': {
  36.             'AverageSize': 82, 
  37.             'Coverage': 83, 
  38.             'CreateMethod': App.Constants.BubbleCreateMethod.Intersecting, 
  39.             'SizeVariation': 36
  40.             }, 
  41.         'RandomSeed': 51978, 
  42.         'RandomizePlacement': App.Constants.Boolean.false, 
  43.         'Single': {
  44.             'MaxPossibleSize': App.Constants.Boolean.true
  45.             }, 
  46.         'Surface': {
  47.             'Material': {
  48.                 'Color': (245,113,104), 
  49.                 'Pattern': None, 
  50.                 'Gradient': None, 
  51.                 'Texture': None
  52.                 }, 
  53.             'BumpMap': {
  54.                 'Active': App.Constants.Boolean.false
  55.                 }, 
  56.             'EnvironmentMap': {
  57.                 'Active': App.Constants.Boolean.true, 
  58.                 'FileName': 'Gold', 
  59.                 'PatternOpacity': 50, 
  60.                 'EnvironmentType': App.Constants.BubbleMapType.CurrentImage
  61.                 }, 
  62.             'Gloss': 12, 
  63.             'Opacity': 100, 
  64.             'Shininess': 77
  65.             }
  66.         }
  67.  
  68. def Do(Environment):
  69.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  70.  
  71.